package com.learn.demo.service;

import java.util.ArrayList;

import com.learn.demo.entity.User;

import org.springframework.stereotype.Service;

@Service
public interface UserService {
	/**
	 * 添加用户
	 * @param user
	 * @return
	 */
	public void addUser(User user);

	/**
	 * 获取所有用户
	 * @return
	 */
	public ArrayList<User> getUsers( );
}
